package com.gy.spring.mvc.service.impl;

import org.springframework.stereotype.Service;

import com.gy.spring.mvc.service.HelloService;

@Service
public class HelloServiceImpl implements HelloService {

    @Override
    public String hello() {
        return "Hello World!";
    }

    @Override
    public void testException() {
        int i = 1 / 0;
        System.out.println(i);
    }

}
